{% load static %}
{% load erpdata %}

<div class="box_i " >
	<div class="box_o " >
		<div class="rr_1">
		</div>
		<div class="rr_2">
		</div>
		<div class="rr_3">
		</div>
		<div class="rr">
			<h4>
			当前状态：{{obj.get_Status_display }} 
			<a  class="fright p"  href="{{current_url}}{{id}}/log">查看操作日志</a>
			</h4>
			<div class="box_i " >
				<div>
					操作： 
					{% for item in statuslist%}
						{% if obj|getattribute:item.0 %}
							<a class="p" href="{{current_url}}{{id}}/do/{{item.1}}">&nbsp;{{item.2}}&nbsp;</a>&nbsp;&nbsp;&nbsp;
						{% endif %} 
					{% endfor %}
				</div>
			</div>
		</div>
		<div class="rr_4">
		</div>
		<div class="rr_5">
		</div>
		<div class="rr_1">
		</div>
	</div>
</div>